﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for BrokerPremium
/// </summary>
/// 
namespace CE.CarInsurance
{
    public class BrokerPremium
    {
        private Int64 _cxbrokerpremiumid;
        private Int64 _cxbrokerproviderid;
        private Int64 _providercovertypeid;
        private Int64 _cecarid;
        private Int64 _customerid;
        private Int64 _agentid;
        private float _premium;
        private float _excess;
        private bool _selectedstatus;
        private string _package;
        private string _workshop;
        private string _productType;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public BrokerPremium()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 CXBrokerPremiumId
        {
            get { return _cxbrokerpremiumid; }
            set { _cxbrokerpremiumid = value; }
        }

        public Int64 CXBrokerProviderId
        {
            get { return _cxbrokerproviderid; }
            set { _cxbrokerproviderid = value; }
        }

        public Int64 ProviderCoverTypeId
        {
            get { return _providercovertypeid; }
            set { _providercovertypeid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public Int64 CustomerId
        {
            get { return _customerid; }
            set { _customerid = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public float Premium
        {
            get { return _premium; }
            set { _premium = value; }
        }

        public float Excess
        {
            get { return _excess; }
            set { _excess = value; }
        }

        public bool SelectedStatus
        {
            get { return _selectedstatus; }
            set { _selectedstatus = value; }
        }

        public string Package
        {
            get { return _package; }
            set { _package = value; }
        }

        public string WorkShop
        {
            get { return _workshop; }
            set { _workshop = value; }
        }

        public string ProductType
        {
            get { return _productType; }
            set { _productType = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        private void ClearFields()
        {
            _cxbrokerpremiumid = 0;
            _cxbrokerproviderid = 0;
            _providercovertypeid = 0;
            _cecarid = 0;
            _customerid = 0;
            _agentid = 0;
            _premium = 0.0f;
            _excess = 0.0f;
            _selectedstatus = false;
            _package = "";
            _workshop = "";
            _productType = "CRM";
            _createddate = DateTime.Now;
            _modifieddate = DateTime.Now;
        }

    }
}